package javablackbelt.beans;

import java.util.Date;

import javablackbelt.beans.factory.annotation.Encoded;

public class DefaultCustomerAccount implements CustomerAccount {

	public double initialBalance;
	
	public Date openDate;

	@Encoded
	private String accountNumber;
	
	public double getInitialBalance() {
		return initialBalance;
	}

	public void setInitialBalance(double initialBalance) {
		this.initialBalance = initialBalance;
	}

	public double getAverageBalance() {
		return initialBalance;
	}

	public Date getOpenDate() {
		return openDate;
	}

	public void setOpenDate(Date openDate) {
		this.openDate = openDate;
	}

	public String getAccountNumber() {
		return this.accountNumber;
	}
	
	public void setAccountNumber(String accountNumber) {
		this.accountNumber = accountNumber;
	}
}
